package cn.dlc.com;

import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author 邓立川
 * @date 2021/6/19 20:56
 * @desc 当前类的描述信息
 */
public class Demo {

    @Test
    public void  testPassword(){
        // $2a$10$wGLO3f9gKFCt9OC0aK8IieitxHWkhKjXDZ4UBFI4m6q7DboS.IGBS
        // $2a$10$RV1fu1CUc31px8ge0DMz3udCz0xoyubUjkrHG4zQleRwsHo5qpjWm
        BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
        System.out.println(passwordEncoder.encode("123"));
    }
}
